home *** CD-ROM | disk | FTP | other *** search
-
- COMBIOS was originally furnished by AA4RE, and modified extensively
- by WA7MXZ, WA7MBL, and W0RLI.
-
- These serial device drivers replace the standard Int 14 drivers
- included in the IBM ROM BIOS.
-
- COMBIOS supports the standard COM1 & COM2 ports.
- COM1BIOS supports only COM1.
- COM2BIOS supports only COM2.
- QUADBIOS supports COM3 - COM7 on a Quadram Quadport AT board.
- COMXBIOS supports COM25 and COM26 for "serial link" - W0RLI
-
- GFIBIOS supports COM1 - COM4 for the GFI 4 port board,
- with aa4re hardware mod.
- Configured for COM1 - COM4 = IRQ4.
-
- These drivers may be loaded in any order and combination for
- whatever serial port boards you have. Take care that only one
- board has each COM port - that is, no duplicate COM1 for example.
-
- When using the Quadram board, you may only have one standard serial
- port in use, thus QUADBIOS may be loaded in conjunction with either
- COM1BIOS or COM2BIOS for a total of 6 ports.
-
- Setup info: (example for W0RLI AT clone)
- Load the drivers and set port speed, etc. in your autoexec.bat file:
- COM1BIOS
- QUADBIOS
- MBMODE COM1:,12,n,8,1
- MBMODE COM3:,48,n,8,1
- MBMODE COM4:,48,n,8,1
- MBMODE COM5:,48,n,8,1
- MBMODE COM6:,48,n,8,1
- MBMODE COM7:,96,e,7,1
-
- Programming information:
-
-
- The routines are called in the same manner as the standard Int 14 calls
- are made. However, there are more possible calls as determined by the
- value passed in AH.
-
-
- The port number should be passed in DX. (0-COM1 1-COM2, etc)
- Valid values for DX:
- COMBIOS (0,1)
- COM1BIOS (0)
- COM2BIOS (1)
- QUADBIOS (2,3,4,5,6)
- GFIBIOS (0,1,2,3)
- COMXBIOS (24,25)
-
- AH = 0 Initialize
- ---------------------
- This initializes the communications port. AL contains baud rate, parity,
- stop bit, and word length as in the standard BIOS call. On return, AH
- contains the Line Status Register information (except bit 0 - Data ready
- tells whether there is information in the extended buffer rather than the
- SIO chip receive buffer). AL contains the Modem Status Register.
-
- AH = 1 Send Character
- -------------------------
- AL contains the character to send. Return values are the same as above.
-
- AH = 2 Receive Character
- ----------------------------
- On return, AL contains the character received. AH contains the contents
- of the LSR at the time the last character was received from the TNC (not
- necessarily the character this routine returns). Again, AH bit 0 indicates
- if there is additional characters in the buffer. This routine does NOT
- timeout while waiting for a character.
-
- AH = 3 Return Status
- ------------------------
- Return values are the same as returned by the Initialize routine.
-
- AH = 4 Inquiry
- ------------------
- AH returns 0AAH. AL returns 055H. This call is used to see if the
- driver has been loaded for a particular port.
-
-
- Port setup for GFI 4 port board using GFI4BIOS:
- (Add the diodes and resister per aa4re instructions)
-
- PORT ADDRESS INTERRUPT
- ----- ---------- ---------
- COM 1 3F8-3FF IRQ3
- COM 2 2F8-2FF IRQ3
- COM 3 3E8-3EF IRQ3
- COM 4 3E0-3E7 IRQ3